<?php /* Template Name: Portfolio - Album Style */ ?>

<?php get_header(); ?>

<?php if( post_password_required() ): ?>    
    
    <div class="cols">
    
        <?php echo get_the_password_form(); ?>

    </div>
    
<?php else: ?>

    <?php
    $defaults = array(
        'list'          => array(),
        'ppp'           => '',
        'orderby'       => 'date',
        'order'         => 'DESC'
    );
    $options = get_post_meta( get_the_ID(), 'dt_portfolio_layout', true );
    $options = wp_parse_args( $options, $defaults );

    echo dt_portf_tax_list(
        array(
            'c_class'       => 'filter',
            'tax'           => $options['list'],
            'ajax'          => true
        )
    );
    ?>

    <div class="cols benefits"></div>

    <div class="paginator"></div>

<?php endif; ?>

<?php get_footer(); ?>